﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using XNoteBook.Entities;

namespace XNoteBook.Models
{
	/// <summary>
	/// 从Rss导入随笔
	/// </summary>
	[MetadataType(typeof(PostOuterInfoMetadata))]
	public class PostOuterInfoModel:PostOuterInfo
	{

		internal class PostOuterInfoMetadata
		{
			[DisplayName("订阅源")]
			public string OriginalUrl { get; set; }
			[DisplayName("描述")]
			public string Description { get; set; }
			[DisplayName("类别")]
			public string CategoryID { get; set; }
			[DisplayName("备注")]
			public string Remarks { get; set; }
			[DisplayName("状态")]
			public int Status { get; set; }
		}
	}
}
